#pragma once
#include "afxcmn.h"
#include "afxwin.h"
#include "../ModelExport/ModelExportToolFactory.h"

// CExportLayerDlg dialog
//#define WM_RECVDATA WM_USER+1
struct NumInfo;
class CExportLayerDlg : public CDialogEx
{
	DECLARE_DYNAMIC(CExportLayerDlg)

public:
	CExportLayerDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CExportLayerDlg();
	
// Dialog Data
	enum { IDD = IDD_EXPORT_LAYER };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	
	
	DECLARE_MESSAGE_MAP()
public:	
	virtual BOOL OnInitDialog();	
	afx_msg void OnBnClickedButtonStart();	
	afx_msg void OnBnClickedButtonStop();
	bool GetSelectLayers();
	//afx_msg LRESULT OnRecvData(WPARAM wParam,LPARAM lParam);
	

    HICON m_hIcon;

	std::list<CLayer *> m_ListLayer;
	std::list<CLayer *> m_ListAllLayer;
	NumInfo* m_numInfo;
	CListCtrl m_List;	
	CProgressCtrl m_LayerProgress;
	CStatic m_PromptStatic;	
	//DWORD exitCode;	
	CButton m_StartBtn;
	CButton m_StopBtn;
};
